export interface Task {
  id: string;
  title: string;
  description?: string;
  deadline?: Date;
  completed: boolean;
  priority: 'low' | 'medium' | 'high';
  quadrant: 1 | 2 | 3 | 4; // 1: 重要且紧急, 2: 重要不紧急, 3: 紧急不重要, 4: 不重要不紧急
  createdAt: Date;
}

export interface QuadrantProps {
  id: number;
  title: string;
  description: string;
  color: string;
  tasks: Task[];
  onToggleStatus: (taskId: string) => void;
  onAddTask: (title: string) => void;
} 